package com.example.webdemo.mapper;

import com.example.webdemo.bean.City;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Date 2021/6/26 10:47
 * @Created by wangle
 * @Description
 */
@Mapper
public interface Citymapper  {
    @Select("select * from city where id=#{id}")
    public City getByid(int id);

    public  int insertId(City city);


}
